package com.dream.root.entity;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2018-07-28 04:30:40
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
public class ExchangeUserWithdraw implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "")
    @Id
    private Integer id;

    @ApiModelProperty(value = "提现ID")
    private String orderNo;

    @ApiModelProperty(value = "")
    private Integer userId;

    @ApiModelProperty(value = "提币名称")
    private String coinName;

    @ApiModelProperty(value = "提币数量")
    private BigDecimal coinNum;

    @ApiModelProperty(value = "提币地址")
    private String withdrawAddress;

    @ApiModelProperty(value = "手续费")
    private BigDecimal serviceCharge;

    @ApiModelProperty(value = "转账ID(区块链)")
    private String transactionId;

    @ApiModelProperty(value = "订单跳转详情")
    private String transactionDetailUrl;

    @ApiModelProperty(value = "提现状态   0：提现中  1：待审核  2：已完成 3审核失败")
    private Integer state;

    @ApiModelProperty(value = "失败原因")
    private String failReason;

    @ApiModelProperty(value = "审核人")
    private Integer checkBy;

    @ApiModelProperty(value = "审核时间")
    private Date checkTime;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Date updateTime;


}
